/*

public class Test2 {
    public static void main1(String[] args) {
        java.util.Date data = new java.util.Date();

    }


    public static void main(String[] args) {
        Person person = new Person();
        person.setAge(19);
        person.setName("zhangsan");
        person.sleep();

        System.out.println(person);

        Person person1 = new Person("lisi",20);
        person1.sleep();
        System.out.println(person1);
    }
}
*/



import java.util.Scanner;

public class Test2 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }

}

class Data {

    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

}









